shell: shell.c completion.c shell.h command_function.o job_processing.o
	gcc -o shell shell.c completion.c command_function.o job_processing.o -lreadline

command_function.o: command_function.c command_function.h shell.h
	gcc -c command_function.c

job_processing.o: job_processing.c job_processing.h shell.h
	gcc -c job_processing.c

clean:
	rm -f *.o